<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<link rel="stylesheet" href="css/font.css" />
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/setting.css" />
		<script type="text/javascript">
			document.addEventListener('plusready', function() {
				//console.log("所有plus api都应该在此事件发生后调用，否则会出现plus is undefined。"

			}); 
		</script>

	</head>
	<body>
		<header class=" header-module ">
			<div class="flex-justify-align header-top">
				<a href="home.html" class="iconfont iconfanhuijiantou header-back"></a>
				<p class="header-title">我的</p>
				<span class="header-span"></span>
			</div>
		</header>
		
		<article class="middle-moudle">

			<section class="setting-nav">
				<a href="pages/my/company.html" class="flex-justify-align base-interval nav-item">
					<p>
						<span class="iconfont iconjiguan"></span>
						企业信息
					</p>
					<span class="iconfont iconback"></span>
				</a>
				<a href="pages/my/orders.html" class="flex-justify-align base-interval nav-item">
					<p>
						<span class="iconfont icondanbao"></span>
						我的需求
					</p>
					<span class="iconfont iconback"></span>
				</a>
				<a href="apply.html" class="flex-justify-align base-interval nav-item">
					<p>
						<span class="iconfont iconbaoxian"></span>
						我要提报
					</p>
					<span class="iconfont iconback"></span>
				</a>
				<a href="pages/my/reset.html" class="flex-justify-align base-interval nav-item">
					<p>
						<span class="iconfont iconjijinbiaoxian"></span>
						修改密码
					</p>
					<span class="iconfont iconback"></span>
				</a>
				<a href="javascript:logout();" class="flex-justify-align base-interval nav-item">
					<p>
						退出系统
					</p>
					<span class="iconfont iconback"></span>
				</a>
			</section>
		</article>
		<footer class="footer-module">
			<nav class="flex-justify-align footer-nav ">
				<a href="home.html">
					<span class="iconfont iconshouye"></span>
					<p>首页</p>
				</a>
				<a href="apply.html">
					<span class="iconfont icontibao"></span>
					<p>提报</p>
				</a>
				<a href="setting.html" class="active">
					<span class="iconfont iconwode"></span>
					<p>我的</p>
				</a>
			</nav>
		</footer>
	</body>
	
	<script src="js/jquery-3.0.0.min.js"></script>  
	<script src="js/gloab.js"></script>  
	<script>    
		$(function() {
			var company = JSON.parse(localStorage.getItem("company"));
			if(!company){
				window.location.href = "login.html";
			}
		});
		
		function logout(){
			localStorage.clear();
			window.location.href = "login.html";
		}
	</script>
	
</html>
